package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.ProductFirst;
import cn.wolfcode.crm.query.ProductQueryObject;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface ProductFirstMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductFirst entity);

    ProductFirst selectByPrimaryKey(Long id);

    List<ProductFirst> selectAll();

    int updateByPrimaryKey(ProductFirst entity);
    int selectCount(QueryObject qo);

    List<ProductFirst> queryForList(QueryObject qo);
    Long selectByFirstId(ProductQueryObject qo);
}